package com.qs.springboot.param;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "system")
@PropertySource("classpath:system.properties")
public class SystemConfig {

    private String systemId;

    private String systemName;

}
